package com.joysuch.wwyt.list.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author: JamesZY
 * @date: 2021/6/16
 * @description:
 */
@Data
public class BpListBizWorkDetailBean {
    @ApiModelProperty(value = "编号，主键")
    private Long id;

    private Long listId;

    @ApiModelProperty(value = "清单编号")
    private String listCode;

    @ApiModelProperty(value = "清单名称")
    private String listName;

    @ApiModelProperty(value = "工作名称")
    private String workName;

    private String content;

    @ApiModelProperty(value = "状态 未完成：0 完成：1")
    private Integer state;

    @ApiModelProperty(value = "状态 未完成：0 完成：1")
    private String stateName;

    @ApiModelProperty(value = "附件")
    private String attachments;

    @ApiModelProperty(value = "创建人ID")
    private Long createBy;

    //创建人姓名
    private String createByName;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "更新人ID")
    private Long updateBy;

    //更新人姓名
    private String updateByName;

}
